<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix='sec' uri='http://www.springframework.org/security/tags' %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
        <sec:authorize  access="hasRole('ROLE_USER')"> ROLE_USER </sec:authorize>
        <sec:authorize  access="hasRole('ROLE_ADMIN')"> ROLE_ADMIN </sec:authorize>
      